package com.bwie.service;

import com.bwie.pojo.TbType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.Result;
import org.springframework.web.multipart.MultipartFile;

/**
* @author lenovo
* @description 针对表【tb_type(商品分类表)】的数据库操作Service
* @createDate 2025-06-20 15:27:23
*/
public interface TbTypeService extends IService<TbType> {

    Result getTypeTreeList();

    Result addType(TbType tbType);

    Result uploadTypeImage(MultipartFile file);

    Result updateType(TbType tbType);

    Result deleteType(Integer typeId);

    Result getSelectTypeTreeList();
}
